package com.me.modules.activiti.service.impl;

import com.me.modules.activiti.dao.ExtendHiActTasklogDao;
import com.me.modules.activiti.entity.ExtendHiActTasklogEntity;
import com.me.modules.activiti.service.ExtendHiActTasklogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("extendHiActTasklogService")
public class ExtendHiActTasklogServiceImpl implements ExtendHiActTasklogService {
	@Autowired
	private ExtendHiActTasklogDao extendActTasklogDao;

	@Override
	public ExtendHiActTasklogEntity queryObject(String id){
		return extendActTasklogDao.queryObject(id);
	}

	@Override
	public List<ExtendHiActTasklogEntity> queryList(Map<String, Object> map){
		return extendActTasklogDao.queryList(map);
	}

	@Override
	public int queryTotal(Map<String, Object> map){
		return extendActTasklogDao.queryTotal(map);
	}

	@Override
	public void save(ExtendHiActTasklogEntity extendActTasklog){
		extendActTasklogDao.save(extendActTasklog);
	}

	@Override
	public void update(ExtendHiActTasklogEntity extendActTasklog){
		extendActTasklogDao.update(extendActTasklog);
	}

	@Override
	public void delete(String id){
		extendActTasklogDao.delete(id);
	}

	@Override
	public void deleteBatch(String[] ids){
		extendActTasklogDao.deleteBatch(ids);
	}

	@Override
	public int updateByTaskId(ExtendHiActTasklogEntity extendActTasklogEntity) {
		return extendActTasklogDao.updateByTaskId(extendActTasklogEntity);
	}

	@Override
	public int updateByTaskIdOpinion(ExtendHiActTasklogEntity extendActTasklogEntity) {
		return extendActTasklogDao.updateByTaskIdOpinion(extendActTasklogEntity);
	}
}
